package com.solution.admin.finance.wallet.dao;

import java.util.List;
import java.util.Map;

import com.solution.admin.finance.wallet.entity.WalletWithdrawEntity;
import com.solution.common.dao.BaseDao;
import com.solution.common.page.PageBean;
import com.solution.common.page.PageParam;

/**
 * 客户钱包提现DAO接口
 * @author lufer
 * @date 2018-05-04 16:52:30
 */
public interface WalletWithdrawDao extends BaseDao<WalletWithdrawEntity> {
	
	/**
	 * 保存客户钱包提现
	 * @param walletWithdrawEntity
	 * @return
	 * @author lufer
	 * @date 2018-05-04 16:52:30
	 */
	public long saveWalletWithdraw(WalletWithdrawEntity walletWithdrawEntity);

	/**
	 * 分页查询客户钱包提现信息
	 * @param pageParam 分页对象
	 * @param walletWithdraw 分页参数
	 * @return PageBean 分页参数及数据
	 * @author lufer
	 * @date 2018-05-04 16:52:30
	 */
	public PageBean listWalletWithdrawPage(PageParam pageParam, Map<String, Object> param);

	/**
	 * 更新客户钱包提现
	 * @param walletWithdrawEntity
	 * @return
	 * @author lufer
	 * @date 2018-05-04 16:52:30
	 */
	public int updateWalletWithdraw(WalletWithdrawEntity walletWithdrawEntity);


	/**
	 * 删除客户钱包提现角色
	 * @param id
	 * @return
	 * @author lufer
	 * @date 2018-05-04 16:52:30
	 */
	public int deleteWalletWithdrawById(Long id);
	
	/**
	 * 根据客户钱包提现类型获取客户钱包提现
	 * @param param
	 * @return
	 * @author lufer
	 * @date 2018-05-04 16:52:30
	 */
	public List<WalletWithdrawEntity> listWalletWithdraw( Map<String, Object> param);
}
